package com.ayuan.blog.dao;

import org.apache.ibatis.annotations.Param;
import org.durcframework.core.dao.BaseDao;
import com.ayuan.blog.domain.Tag;
import org.durcframework.core.expression.ExpressionQuery;

import java.util.List;

public interface TagDao extends BaseDao<Tag> {

    List<Tag> findTagByArticleId(ExpressionQuery query);

    List<Tag> findListByIds(@Param("tagIdList") List<Integer> tagIdList);
}